' c/c++,h plugin for maxedit host

Strict

Import "../maxtk/maxtk.bmx"
'Import axe.maxedit

Import "cplugin.bmx"

Global CPPKeywords$[]=["#include","#define","#ifdef","#ifndef","#else","#endif","#pragma","#if","#undef",..
"asm","auto","break","case","char","const","continue","default","do","double","else","enum","extern",..
"float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct",..
"switch","typedef","union","unsigned","void","volatile","while",..
"catch","inline","template","class","new","this","delete","operator",..
"throw","except","private","try","finally","protected","virtual","friend","public"]

Global CPPExtensions$[]=["cc","cxx","cpp","h","hpp"]

Type TCPPPlugin Extends TCPlugin

	Method New()
		name="C++"
		keywords=CPPKeywords
		extensions=CPPExtensions
	End Method
	
End Type
